{include file="public/header" /}


<div class="page">
    <div class="fixed-bar">
        <div class="item-title">
            <div class="subject">
                <h3>订单详情</h3>
                <h5></h5>
            </div>
            {include file="public/admin_items" /}
        </div>
    </div>

  <div class="fixed-empty"></div>

  <form method="post" id="form_member">
    <table class="ds-default-table nobdb">
      <thead>
        <tr class="thead">
          <th class="align-center">序号</th>
          <th class="align-center">供货商名称</th>
          <th colspan="2">商品</th>
          <th class="align-center">商品分类&品牌</th>
          <th class="align-center">商品价格</th>
          <th class="align-center">添加时间</th>
          
        </tr>
      <tbody id="datatable">
        {notempty name="store_list"}
        {foreach name="store_list" item="v" key="k" }
        <tr class="hover member">
          <td class="align-center">{$k+1}</td>
          <td class="align-center">{$v.store_name}</td>
          <td class="w60 picture">
                <div class="size-56x56">
                    <span class="thumb size-56x56">
                        <i></i>
                   {if condition="(goods_thumb($v, 240)!='')"}
                      <img src="{:goods_thumb($v, 240)}" onload="javascript:ResizeImage(this,56,56);"/>
                 {else}
                         <img src="http://33wang.douyinhot.com/03a18202002091420493484.jpg"  onload="javascript:ResizeImage(this,56,56);"/>
                  {/if}
                </span>
                </div>
            </td>
            <td>
                <dl class="goods-info">
                    <dt class="goods-name">{$v.goods_name}</dt>
                    <dd class="goods-type">
                        {if $v.is_virtual eq 1}<span class="virtual">{$Think.lang.ds_virtual}</span>{/if}
                        {if $v.is_goodsfcode eq 1}<span class="fcode">{$Think.lang.ds_fcode}</span>{/if}
                        {if $v.is_presell eq 1}<span class="presell">{$Think.lang.ds_presell}</span>{/if}
                        {if $v.is_appoint eq 1}<span class="appoint">{$Think.lang.ds_appoint}</span>{/if}
                    </dd>
                </dl>
            </td>
            
          <td class="align-center">分类：{$v.gc_name}<p>品牌：{$v.brand_name}</p></td>
          <td class="align-center">{$v.goods_price}</td>
          <td class="align-center">{$v.goods_addtime|date="Y-m-d H:i:s",###}</td>
          
        </tr>
        {/foreach}
        {else /}
        <tr class="no_data">
          <td colspan="11">{$Think.lang.ds_no_record}</td>
        </tr>
        {/notempty}
      </tbody>
    </table>
      {$show_page}
  </form>

</div>
<script src="{$Think.PLUGINS_SITE_ROOT}/statistics.js"></script>
<script>
$(function(){
    //导出图表
    $("#export_btn").click(function(){
        var item = $("#export_type");
        var type = $(item).val();
        if(type == 'excel'){
            export_xls(item.attr('data-url').replace('.html',''));
        }
    });
});
</script>